﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class statisticalItem : MonoBehaviour
{
    public Text displayTxt;

    public Text timesTxt;


    int indexNum;

    int times;

    public void SetData(int num, int timess)
    {
        indexNum = num;
        times = timess;
    }

    private void Awake()
    {
        displayTxt.text = indexNum.ToString();
        timesTxt.text = times.ToString();
    }
}